package com.gyg.service;

import com.gyg.domain.CloudMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gyg.returns.RespEntity;
import com.gyg.vo.param.MessageParam;
import com.gyg.vo.result.MessageResult;

import java.util.List;

/**
 * <p>
 * 云盘消息表 服务类
 * </p>
 *
 * @author gyg
 * @since 2021-04-14
 */
public interface CloudMessageService extends IService<CloudMessage> {

    /**
     * 公告列表
     * @return
     */
    RespEntity<List<MessageResult>> cloudMessageList();

    /**
     * 发布公告
     * @param messageParam
     * @return
     */
    RespEntity insertMessage(MessageParam messageParam);

}
